﻿@inherits System.Web.Mvc.WebViewPage<System.DateTime?>
@if (Model.HasValue)
{ 
    @Html.TextBox("", (Model.Value), new { @class = "datePicker" })
}
else {
    @Html.TextBox("", "", new { @class = "datePicker" })
    
}
<script type='text/javascript'>
    $(document).ready(function () {
        $("#@ViewData.TemplateInfo.GetFullHtmlFieldId("")").wijinputdate({ showTrigger: true});
    });
</script>
